<script setup>
import {ref} from 'vue'
import Head from "@/views/head.vue";
import Main from "@/views/main.vue";
</script>

<template>
  <div class="common-layout">
    <el-container class="layout-container-demo" style="height:100%;min-width: 1480px">


      <el-main style="padding-top: 0">
        <router-view/>
        <Main/>

      </el-main>

    </el-container>
  </div>

</template>

<style scoped>
.layout-container-demo {
  max-width: 100vw; /* 限制最大宽度为视口宽度 */
  overflow-x: hidden; /* 隐藏水平溢出 */

}
.common-layout {
  margin: 0; /* 确保外边距为0 */
}

</style>
